package bb.lanxing.lib.devices.api;

import java.util.List;

public interface DeviceProvider {
    SmartDevice create();

    SmartDevice getDeviceByAddress(String str);

    List<SmartDevice> getDevices();

    List<SmartDevice> getDevicesByType(int i);

    boolean isAutoConnectDeviceType(int i);

    boolean isSecondGenerationDevice(int i);

    boolean isSensorDevice(int i);

    void removeByType(int i);

    void removeByTypeAndFlag(int i, int i2);

    void save(SmartDevice smartDevice);
}
